<?php
/**
 *	[TWCMS] (C)2012 TongWang Inc.
 *	$Id: tool_rebuild.tpl.php 2 2013-04-27 07:14:17Z nanown@qq.com $
 */
	defined('IN_TWCMS') || exit('Access Denied');
	include load_tpl('head');
?>
		<div class="p c1">
			<div class="cc">
				<div class="tb_t"><?=$this->title?></div>
				<ul class="marginbot">
					<li><input type="checkbox" value="category" checked="checked"> 所有分类内容数</li>
				</ul>
				<div class="tb_b"><input type="submit" value="确定" class="but1" /></div>
			</div>
		</div>
	</div>
<script type="text/javascript">
$(".but1").click(function(){
	var arr = new Array();
	$("input[type='checkbox']").each(function(i){
		if($(this).attr("checked")) {
			arr[i] = $(this).val();
		}
	});
	twAjax.postd("?mod=tool&action=rebuild&do=ajax_rebuild", {"doarr":arr}, function(data){
		twAjax.alert(data);
	});
});
</script>
</body>
</html>